<%--
  Created by IntelliJ IDEA.
  User: Twinkle
  Date: 2021/8/30
  Time: 15:10
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta charset="UTF-8">
    <title>登录</title>
    <style>
        * {
            padding: 0px;
            margin: 0px;
        }

        .container {
            width: 800px;
            height: 600px;
            display: flex;
            flex-direction: row;
            justify-content: flex-end;
            align-items: center;
        }

        .container form {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
        }

        .container form input, button, div {
            width: 400px;
            height: 100px;
            padding: 10px;
            margin: 10px;
            font-size: 18px;
        }

        .container div {
            color: red;
        }
    </style>
</head>
<body>
<div class="container">
    <form action="${pageContext.request.contextPath}/login" method="post">
        <div>
            ${requestScope.msg}
        </div>
        <input name="uname" type="text" placeholder="请输入账号">
        <input name="upass" type="password" placeholder="请输入密码">
        <button type="submit">登录</button>
    </form>
</div>
</body>
</html>
